<?php

namespace Wilead\IArtistBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * @ORM\Table()
 * @ORM\Entity
 */
class UserIntroduction {

    private $userId;

    /**
     * @ORM\Id
     * @ORM\OneToOne(targetEntity="User", inversedBy="UserIntroduction")
     * @ORM\JoinColumn(name="userId", referencedColumnName="id")
     */
    private $User;

    /**
     * @ORM\Column(type="string", nullable=true)
     */
    private $title;

    /**
     * @ORM\Column(type="string", nullable=true) 
     */
    private $mapPosition;

    /**
     * @ORM\Column(type="string", nullable=true) 
     */
    private $city;

    /**
     * @ORM\Column(type="string", nullable=true)
     */
    private $address;

    /**
     * @ORM\Column(type="string", nullable=true)
     */
    private $permitId;

    /**
     * @ORM\Column(type="string", nullable=true)
     */
    private $permitImg;

    /**
     * @ORM\Column(type="string", nullable=true)
     */
    private $otherPermitId;

    /**
     * @ORM\Column(type="string", nullable=true)
     */
    private $otherPermitImg;

    /**
     * @ORM\Column(type="text", nullable=true)
     */
    private $description;

    /**
     * Set title
     *
     * @param string $title
     * @return UserIntroduction
     */
    public function setTitle($title) {
        $this->title = $title;

        return $this;
    }

    /**
     * Get title
     *
     * @return string 
     */
    public function getTitle() {
        return $this->title;
    }

    /**
     * Set mapPosition
     *
     * @param string $mapPosition
     * @return UserIntroduction
     */
    public function setMapPosition($mapPosition) {
        $this->mapPosition = $mapPosition;

        return $this;
    }

    /**
     * Get mapPosition
     *
     * @return string 
     */
    public function getMapPosition() {
        return $this->mapPosition;
    }

    /**
     * Set city
     *
     * @param string $city
     * @return UserIntroduction
     */
    public function setCity($city) {
        $this->city = $city;

        return $this;
    }

    /**
     * Get city
     *
     * @return string 
     */
    public function getCity() {
        return $this->city;
    }

    /**
     * Set address
     *
     * @param string $address
     * @return UserIntroduction
     */
    public function setAddress($address) {
        $this->address = $address;

        return $this;
    }

    /**
     * Get address
     *
     * @return string 
     */
    public function getAddress() {
        return $this->address;
    }

    /**
     * Set permitId
     *
     * @param string $permitId
     * @return UserIntroduction
     */
    public function setPermitId($permitId) {
        $this->permitId = $permitId;

        return $this;
    }

    /**
     * Get permitId
     *
     * @return string 
     */
    public function getPermitId() {
        return $this->permitId;
    }

    /**
     * Set description
     *
     * @param string $description
     * @return UserIntroduction
     */
    public function setDescription($description) {
        $this->description = $description;

        return $this;
    }

    /**
     * Get description
     *
     * @return string 
     */
    public function getDescription() {
        return $this->description;
    }

    /**
     * Set User
     *
     * @param \Wilead\IArtistBundle\Entity\User $user
     * @return UserIntroduction
     */
    public function setUser(\Wilead\IArtistBundle\Entity\User $user) {
        $this->User = $user;

        return $this;
    }

    /**
     * Get User
     *
     * @return \Wilead\IArtistBundle\Entity\User 
     */
    public function getUser() {
        return $this->User;
    }

    /**
     * Set permitImg
     *
     * @param string $permitImg
     * @return UserIntroduction
     */
    public function setPermitImg($permitImg) {
        $this->permitImg = $permitImg;

        return $this;
    }

    /**
     * Get permitImg
     *
     * @return string 
     */
    public function getPermitImg() {
        return $this->permitImg;
    }

    /**
     * Set otherPermitId
     *
     * @param string $otherPermitId
     * @return UserIntroduction
     */
    public function setOtherPermitId($otherPermitId) {
        $this->otherPermitId = $otherPermitId;

        return $this;
    }

    /**
     * Get otherPermitId
     *
     * @return string 
     */
    public function getOtherPermitId() {
        return $this->otherPermitId;
    }

    /**
     * Set otherPermitImg
     *
     * @param string $otherPermitImg
     * @return UserIntroduction
     */
    public function setOtherPermitImg($otherPermitImg) {
        $this->otherPermitImg = $otherPermitImg;

        return $this;
    }

    /**
     * Get otherPermitImg
     *
     * @return string 
     */
    public function getOtherPermitImg() {
        return $this->otherPermitImg;
    }

}